import http from '../index'
export const plogo = () => http({
    url: '/api/plogo',
    method: 'get'
})
export const uplogo = (data) => http({
    url: '/api/plogo',
    method: 'put',
    data
})
export const search = (params) => http({
    url: 'api/plogo/cfind?'+params,
    method: 'get'
})
export const delelte = (params) => http({
    url: '/api/plogo?'+params,
    method: 'delete'
})
export const add = (data) => http({
    url: '/api/plogo',
    method: 'post',
    headers:{'content-Type':'multipart/form-data;boundary = ' + new Date().getTime()},
    data
})
export const deleltebatch = (data) => http({
    url: '/api/plogo/batch',
    method: 'delete',
    data
})
export const updatebatch = (data) => http({
    url: '/api/plogo/batch',
    method: 'put',
    data
})

export const ipage = (data) => http({
    url: '/api/plogo/page',
    method: 'post',
    data
})